﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001135 RID: 4405
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetBoxingClubResonanceLineupCsReq : IMessage<SetBoxingClubResonanceLineupCsReq>, IMessage, IEquatable<SetBoxingClubResonanceLineupCsReq>, IDeepCloneable<SetBoxingClubResonanceLineupCsReq>, IBufferMessage
	{
		// Token: 0x170037CB RID: 14283
		// (get) Token: 0x0600C529 RID: 50473 RVA: 0x00214CF7 File Offset: 0x00212EF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetBoxingClubResonanceLineupCsReq> Parser
		{
			get
			{
				return SetBoxingClubResonanceLineupCsReq._parser;
			}
		}

		// Token: 0x170037CC RID: 14284
		// (get) Token: 0x0600C52A RID: 50474 RVA: 0x00214CFE File Offset: 0x00212EFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetBoxingClubResonanceLineupCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170037CD RID: 14285
		// (get) Token: 0x0600C52B RID: 50475 RVA: 0x00214D10 File Offset: 0x00212F10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetBoxingClubResonanceLineupCsReq.Descriptor;
			}
		}

		// Token: 0x0600C52C RID: 50476 RVA: 0x00214D17 File Offset: 0x00212F17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetBoxingClubResonanceLineupCsReq()
		{
		}

		// Token: 0x0600C52D RID: 50477 RVA: 0x00214D2A File Offset: 0x00212F2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetBoxingClubResonanceLineupCsReq(SetBoxingClubResonanceLineupCsReq other) : this()
		{
			this.challengeId_ = other.challengeId_;
			this.gPPHJGGFMCB_ = other.gPPHJGGFMCB_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C52E RID: 50478 RVA: 0x00214D60 File Offset: 0x00212F60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetBoxingClubResonanceLineupCsReq Clone()
		{
			return new SetBoxingClubResonanceLineupCsReq(this);
		}

		// Token: 0x170037CE RID: 14286
		// (get) Token: 0x0600C52F RID: 50479 RVA: 0x00214D68 File Offset: 0x00212F68
		// (set) Token: 0x0600C530 RID: 50480 RVA: 0x00214D70 File Offset: 0x00212F70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChallengeId
		{
			get
			{
				return this.challengeId_;
			}
			set
			{
				this.challengeId_ = value;
			}
		}

		// Token: 0x170037CF RID: 14287
		// (get) Token: 0x0600C531 RID: 50481 RVA: 0x00214D79 File Offset: 0x00212F79
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<CBIEELKJMGL> GPPHJGGFMCB
		{
			get
			{
				return this.gPPHJGGFMCB_;
			}
		}

		// Token: 0x0600C532 RID: 50482 RVA: 0x00214D81 File Offset: 0x00212F81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetBoxingClubResonanceLineupCsReq);
		}

		// Token: 0x0600C533 RID: 50483 RVA: 0x00214D90 File Offset: 0x00212F90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetBoxingClubResonanceLineupCsReq other)
		{
			return other != null && (other == this || (this.ChallengeId == other.ChallengeId && this.gPPHJGGFMCB_.Equals(other.gPPHJGGFMCB_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C534 RID: 50484 RVA: 0x00214DE0 File Offset: 0x00212FE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChallengeId != 0U)
			{
				num ^= this.ChallengeId.GetHashCode();
			}
			num ^= this.gPPHJGGFMCB_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C535 RID: 50485 RVA: 0x00214E2D File Offset: 0x0021302D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C536 RID: 50486 RVA: 0x00214E35 File Offset: 0x00213035
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C537 RID: 50487 RVA: 0x00214E40 File Offset: 0x00213040
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.gPPHJGGFMCB_.WriteTo(ref output, SetBoxingClubResonanceLineupCsReq._repeated_gPPHJGGFMCB_codec);
			if (this.ChallengeId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.ChallengeId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C538 RID: 50488 RVA: 0x00214E90 File Offset: 0x00213090
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChallengeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChallengeId);
			}
			num += this.gPPHJGGFMCB_.CalculateSize(SetBoxingClubResonanceLineupCsReq._repeated_gPPHJGGFMCB_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C539 RID: 50489 RVA: 0x00214EE4 File Offset: 0x002130E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetBoxingClubResonanceLineupCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChallengeId != 0U)
			{
				this.ChallengeId = other.ChallengeId;
			}
			this.gPPHJGGFMCB_.Add(other.gPPHJGGFMCB_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C53A RID: 50490 RVA: 0x00214F31 File Offset: 0x00213131
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C53B RID: 50491 RVA: 0x00214F3C File Offset: 0x0021313C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 32U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.ChallengeId = input.ReadUInt32();
					}
				}
				else
				{
					this.gPPHJGGFMCB_.AddEntriesFrom(ref input, SetBoxingClubResonanceLineupCsReq._repeated_gPPHJGGFMCB_codec);
				}
			}
		}

		// Token: 0x04004F74 RID: 20340
		private static readonly MessageParser<SetBoxingClubResonanceLineupCsReq> _parser = new MessageParser<SetBoxingClubResonanceLineupCsReq>(() => new SetBoxingClubResonanceLineupCsReq());

		// Token: 0x04004F75 RID: 20341
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004F76 RID: 20342
		public const int ChallengeIdFieldNumber = 4;

		// Token: 0x04004F77 RID: 20343
		private uint challengeId_;

		// Token: 0x04004F78 RID: 20344
		public const int GPPHJGGFMCBFieldNumber = 2;

		// Token: 0x04004F79 RID: 20345
		private static readonly FieldCodec<CBIEELKJMGL> _repeated_gPPHJGGFMCB_codec = FieldCodec.ForMessage<CBIEELKJMGL>(18U, CBIEELKJMGL.Parser);

		// Token: 0x04004F7A RID: 20346
		private readonly RepeatedField<CBIEELKJMGL> gPPHJGGFMCB_ = new RepeatedField<CBIEELKJMGL>();
	}
}
